mailSettingsThe mailSettings section of the web.config file is used by KommerceServer for all outbound email notifications. This section of the web.config file must comply with the MS IIS standard format. It can be modified manually or you can modify through Internet Information Server Manager interface. Refer to the documentation of your version of IIS for appropriate instructions.
Example UsageAs stored in web.configExample A - Local SMTP email server<mailSettings> <smtp deliveryMethod="Network" from="sales@yourcompany.com"> <network host="mail.yourcompany.com" port="25" defaultCredentials="true" </smtp> </mailSettings> Example B - Office 365 email server<mailSettings> <smtp deliveryMethod="Network" from="sales@yourcompany.com"> <network host="smtp.office365.com" port="587" enableSsl="true" defaultCredentials="false" userName=sales@yourcompany.onmicrosoft.com password="p@55w0rd" /> </smtp> </mailSettings> |